﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Pc_Vision.Model
{
    public class Admin
    {
        public string username, password, id;

        public string Username
        {
            set { this.username = username; }
            get { return this.username; }
        }

        public string Password
        {
            set { this.password = password; }
            get { return this.password; }
        }

        public string Id
        {
            set { this.id = id; }
            get { return this.id; }

        }

        public void fn_ReturnAdmin()
        {


            DAOFactorys.DAOadmin admin = new DAOFactorys.DAOadmin();
            admin.InsertAdmin(this);

        }

    }
}